<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

</head>
<body>
    
<script type="text/javascript" src="../js/swfobject.js"></script>

<div id="my_chart"></div>
 	
<script type="text/javascript">
var so = new SWFObject("../actionscript/open-flash-chart.swf", "ofc", "300", "200", "9", "#FFFFFF");
//so.addVariable("data", "../data-files/data-20.txt");

so.addVariable("variables","true");


so.addVariable("pie", "60,#9933CC,#000000");
so.addVariable("values", "3,2,1,1,1,1,0.2");
so.addVariable("colours", "#d01f3c,#356aa0,#C79810");
so.addVariable("links", "javascript:alert('Jan 3'),javascript:alert('中文 2'),javascript:alert('March 1'),javascript:alert('April 1'),javascript:alert('May 1'),javascript:alert('June 1'),javascript:alert('July 0.2')");
so.addVariable("pie_labels", "January,中文,March,April,May,June,July");
so.addVariable("tool_tip", "中文<br>#x_label#<br>Value: #val#");


so.addParam("allowScriptAccess", "always" );//"sameDomain");
so.write("my_chart");
</script>

<hr>
    
<div id="my_chart_2"></div>
 	
<script type="text/javascript">
var so = new SWFObject("../actionscript/open-flash-chart.swf", "ofc", "200", "300", "9", "#FFFFFF");
//so.addVariable("data", "../data-files/data-20.txt");

so.addVariable("variables","true");


so.addVariable("pie", "60,#9933CC,#000000");
so.addVariable("values", "3,2,1,1,1,1,0.2");
so.addVariable("colours", "#d01f3c,#356aa0,#C79810");
so.addVariable("links", "javascript:alert('Jan 3'),javascript:alert('中文 2'),javascript:alert('March 1'),javascript:alert('April 1'),javascript:alert('May 1'),javascript:alert('June 1'),javascript:alert('July 0.2')");
so.addVariable("pie_labels", "January,中文,March,April,May,June,July");
so.addVariable("tool_tip", "中文<br>#x_label#<br>Value: #val#");


so.addParam("allowScriptAccess", "always" );//"sameDomain");
so.write("my_chart_2");
</script>

</body>
</html>

